package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
	void add (Setmeal setmeal);

	void addRelation (@Param("id") Integer id, @Param("checkgroupId") Integer checkgroupId);

	Page<Setmeal> findPage(@Param("queryString") String queryString);

	List<Setmeal> getSetmeal ();


	Setmeal findDetailsById (Integer id);

	Setmeal findById (Integer id);

	List<Map<String,Object>> findSetmealCount();

	List<Map<String,Object>> getHotSetmeal ();

}
